package com.jeesite.modules.dataScreen.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.jeesite.modules.dataScreen.web.vo.railway.TrainDelayVO;
import com.jeesite.modules.dataScreen.web.vo.railway.TransportDataItemVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@DS("theme-db")
public interface RailWayDao {

    List<TrainDelayVO> getTrainDelay(String status);

    List<TrainDelayVO> getRetentionProcess(String name);

    @DS("master")
    List<TransportDataItemVo> getTransportData(@Param("indexName1") String indexName1, @Param("indexName2") String indexName2, @Param("year") int year);
}
